home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / oops / r3icon.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.3 KB  |  61 lines

  1.  
  2. // JavaScript wrapper for r3icon.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_ICON_H = 1;
  7. include("oops/r3root.js")
  8.  
  9.  
  10. var R3CLID_ICON = 80;
  11.  
  12.  
  13.  
  14.  
  15. R3ICONA_Data = 80500;
  16. function GetR3ICONA_Data() {
  17.   return R3ToJS(R3Get(this.r3obj, R3ICONA_Data, R3TID_OBJECT, 0)); 
  18. }
  19.  
  20. R3ICONA_Width = 80501;
  21. function GetR3ICONA_Width() {
  22.   return R3Get(this.r3obj, R3ICONA_Width, R3TID_INTEGER, 0); 
  23. }
  24.  
  25. R3ICONA_Height = 80502;
  26. function GetR3ICONA_Height() {
  27.   return R3Get(this.r3obj, R3ICONA_Height, R3TID_INTEGER, 0); 
  28. }
  29.  
  30. R3ICONA_Depth = 80503;
  31. function GetR3ICONA_Depth() {
  32.   return R3Get(this.r3obj, R3ICONA_Depth, R3TID_INTEGER, 0); 
  33. }
  34.  
  35. R3ICONA_Name = 80504;
  36. function SetR3ICONA_Name(value) {
  37.   R3Set(this.r3obj, R3ICONA_Name, value, R3TID_STRING, 0); 
  38. }
  39.  
  40. function GetR3ICONA_Name() {
  41.   return R3Get(this.r3obj, R3ICONA_Name, R3TID_STRING, 0); 
  42. }
  43.  
  44.  
  45.  
  46. function r3Icon () { 
  47.    this.base = r3God;
  48.    if(arguments.length) {
  49.       this.base(R3CLID_ICON, arguments);
  50.    }
  51.    // Attributes
  52.    this.GetData=GetR3ICONA_Data;
  53.    this.GetWidth=GetR3ICONA_Width;
  54.    this.GetHeight=GetR3ICONA_Height;
  55.    this.GetDepth=GetR3ICONA_Depth;
  56.    this.GetName=GetR3ICONA_Name;
  57.    this.SetName=SetR3ICONA_Name;
  58. }
  59.  
  60. r3Icon.prototype=new r3Root;
  61. // r3icon.h_H